﻿using ErrorOr;


namespace Gym.Domain.ParticipantAggregate
{
    public static class ParticipantErrors
    {
        public static readonly Error CannotHaveTwoOrMoreOverlappingSessions = Error.Validation(
        "Participant.CannotHaveTwoOrMoreOverlappingSessions",
        "参与者不能有两个或多个重叠的课程");
    }
}
